
#ifndef __DRIVER_DISPATCH_ROUTINE_H__
#define __DRIVER_DISPATCH_ROUTINE_H__

#include "../SafeWall.h"

#ifdef __cplusplus
extern "C" {
#endif
    NTSTATUS DispatchRoutine(IN PDEVICE_OBJECT pDeviceObject, IN PIRP pIrp);
    NTSTATUS DriverControlDispatchRoutine(IN PDEVICE_OBJECT pDeviceObject, IN PIRP pIrp);
    NTSTATUS DriverCreateDispatchRoutine(IN PDEVICE_OBJECT pDeviceObject, IN PIRP pIrp);
    NTSTATUS DriverCloseDispatchRoutine(IN PDEVICE_OBJECT pDeviceObject, IN PIRP pIrp);
    NTSTATUS DriverCleanUpDispatchRoutine(IN PDEVICE_OBJECT pDeviceObject, IN PIRP pIrp);
    NTSTATUS DriverDirectoryControlDispatchRoutine(IN PDEVICE_OBJECT pDeviceObject, IN PIRP pIrp);
    NTSTATUS DriverQueryInformationDispatchRoutine(IN PDEVICE_OBJECT pDeviceObject, IN PIRP pIrp);
    NTSTATUS DriverSetInformationDispatchRoutin(IN PDEVICE_OBJECT pDeviceObject, IN PIRP pIrp);
    NTSTATUS DriverReadDispatchRoutine(IN PDEVICE_OBJECT pDeviceObject, IN PIRP pIrp);
    NTSTATUS DriverWriteDispatchRoutine(IN PDEVICE_OBJECT pDeviceObject, IN PIRP pIrp);
#ifdef __cplusplus
}
#endif

#endif